<template>
    <div >
        <v-form @onSubmit="onSubmit"></v-form>
        <v-table ref="table"></v-table>
    </div>
</template>
<script>
import vTable from "./table.vue";
import vForm from "./form.vue";
export default {
    methods:{
        onSubmit(form){
            this.$nextTick(() => {
                this.$refs.table.onSubmit(form)
            })
        }
    },
    components: {
        vForm,
        vTable
    }
};
</script>

